package com.xiao.ztree.sys.query;

import com.xiao.ztree.core.base.BaseQuery;
import com.xiao.ztree.sys.entity.Article;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * description: ArticleQuery 搜索条件
 * date: 2021/4/28 21:37
 * author: XiaoCoder
 * version: 1.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(description = "搜索条件")
public class ArticleQuery extends BaseQuery<Article> {

    @ApiModelProperty(value = "搜索文章名称")
    private String title;

    @ApiModelProperty(value = "搜索作者名称")
    private String authorName;
}
